﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Data;






namespace HA.ModFlow.Controls.Windows
{
    class RechargeCovert:IValueConverter
    {
        public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            List<double> arry = (List<double>)value;
            return arry[0];
            //if (parameter.ToString() == "constant")
            //{
            //    return arry[0];
            //}
            //else
            //{
            //    return "asdfa";
            //}
        }

        public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            return value; //throw new NotImplementedException();
        }
    }
}
